package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/8/14.
 */
public class MyOtherOtherOtherNXTThread extends NXTThread {

    public MyOtherOtherOtherNXTThread() {
        setNXTThreadName("Nightstick");
    }

    public void run() {
        runMotor(PORT_B,70);
        runMotor(PORT_A,-70);
        wait(250);
        stopMotor(PORT_B);
        stopMotor(PORT_A);
        wait(50);
        runMotor(PORT_B,90);
        runMotor(PORT_A);
        wait(1500);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();

    }
}